package com.demo.apply.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 申请表
 * </p>
 *
 * @author mao
 * @since 2021-11-04
 */
@TableName("tb_application")
public class TbApplication extends Model<TbApplication> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;
    /**
     * 创建人姓名
     */
    @TableField("creater_name")
    private String createrName;
    /**
     * 创建人登录名
     */
    @TableField("register_name")
    private String registerName;
    /**
     * 创建日期
     */
    @TableField("creation_date")
    private String creationDate;
    /**
     * 申请名称
     */
    @TableField("apply_name")
    private String applyName;
    /**
     * 申请编号
     */
    @TableField("apply_id")
    private String applyId;
    /**
     * 单位数
     */
    private Integer units;
    /**
     * 钱数
     */
    private Float money;
    /**
     * 申请类型
     */
    @TableField("apply_type")
    private String applyType;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreaterName() {
        return createrName;
    }

    public void setCreaterName(String createrName) {
        this.createrName = createrName;
    }

    public String getRegisterName() {
        return registerName;
    }

    public void setRegisterName(String registerName) {
        this.registerName = registerName;
    }

    public String getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(String creationDate) {
        this.creationDate = creationDate;
    }

    public String getApplyName() {
        return applyName;
    }

    public void setApplyName(String applyName) {
        this.applyName = applyName;
    }

    public String getApplyId() {
        return applyId;
    }

    public void setApplyId(String applyId) {
        this.applyId = applyId;
    }

    public Integer getUnits() {
        return units;
    }

    public void setUnits(Integer units) {
        this.units = units;
    }

    public Float getMoney() {
        return money;
    }

    public void setMoney(Float money) {
        this.money = money;
    }

    public String getApplyType() {
        return applyType;
    }

    public void setApplyType(String applyType) {
        this.applyType = applyType;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TbApplication{" +
        ", id=" + id +
        ", createrName=" + createrName +
        ", registerName=" + registerName +
        ", creationDate=" + creationDate +
        ", applyName=" + applyName +
        ", applyId=" + applyId +
        ", units=" + units +
        ", money=" + money +
        ", applyType=" + applyType +
        "}";
    }
}
